Make computing and setting the visibility/filters atomic operations
authorFederico Mena Quintero <federico@gnome.org>
Wed, 11 Jul 2012 21:32:52 +0000 (16:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jul 2012 04:41:48 +0000 (00:41 -0400)
commitcbb4ee4d55eaf70815240a4671b42f1d400de9a5
tree9f3844e5b014c181cb5a5132ad0d7c483e50919b
parent435ee7741cf3574ea4cb4202d6836738f1c59482
Make computing and setting the visibility/filters atomic operations

This way we remove paired function calls (compute/set pairs), and also make
it possible to avoid computing a filter twice, as setting the visibility
depends on filteredness.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilesystemmodel.c